#!/bin/bash
rm -rf build
rm -rf bin
mkdir build
mkdir bin
cd build
rm -rf * 
cmake .. -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake -DCROSS_COMPILE=ON
 make 
 cd ..
 echo "Done"
sudo cp bin/app_main  /home/tronlong/A40i/LinuxSDK/out/a40i_h/tla40i-evm/buildroot/buildroot/target/root/
ls /home/tronlong/A40i/LinuxSDK/out/a40i_h/tla40i-evm/buildroot/buildroot/target/root/ -l